#include "CBomb.h"
#include "CSnake.h"

CBomb::CBomb(const GameBasic& basic) : bombPosition(basic.defaultPos){
	itemType = ItemType::BOMB;
};

Position CBomb::getPosition() const {
	return bombPosition;
}

void CBomb::OnEat(CSnake& snake) {
	snake.halve();
}